import Vue from 'vue'
import VueRouter from 'vue-router'

import One from '@/components/One'
import Two from '@/components/Two'
import Three from '@/components/Three'
import Four from '@/components/Four'
import Five from '@/components/Five'
import Six from '@/components/Six'
import Seven from '@/components/Seven'
import Eight from '@/components/Eight'
import Nine from '@/components/Nine'
import Ten from '@/components/Ten'

Vue.use(VueRouter)

const routes = [
  {
    path: '/',
    redirect:'/one'
  },
  {
    path: '/one',
    component: One
  },
  {
    path: '/two',
    component: Two
  },
  {
    path: '/three',
    component: Three
  },
  {
    path: '/four',
    component: Four
  },
  {
    path: '/five',
    component: Five
  },
  {
    path: '/six',
    component: Six
  },
  {
    path: '/seven',
    component: Seven
  },
  {
    path: '/eight',
    component: Eight
  },
  {
    path: '/nine',
    component: Nine
  },
  {
    path: '/ten',
    component: Ten
  }
]

const router = new VueRouter({
  routes
})

export default router
